package com.translate.web.param;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.param.contract.IIdParam;

public class ReceivablesUpdateParam<T> extends ReceivablesAddParam implements IIdParam {

	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private int id = 0;

	private List<@Valid T> pics;
	
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public List<T> getPics() {
		return pics;
	}

	public void setPics(List<T> pics) {
		this.pics = pics;
	}
}